package Example7;

public class Main {
    public static void main(String[] args) {
        XIAOMIBuilder xiaomiBuilder=XIAOMIBuilder.builder();
        Mobile mobile = xiaomiBuilder.buildName("小米5sPlus")
                .buildCPU("晓龙821")
                .buildGPU("Andreo 655")
                .buildRAM("6G")
                .buildROM("128G")
                .create();
        System.out.println(mobile);
    }
}
